<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Nfc Interactor: ndefnfcsocialrecord.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="nfcinteractor80.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Nfc Interactor
   &#160;<span id="projectnumber">2.1.0</span>
   </div>
   <div id="projectbrief">Shows all information about NFC tags available through Qt Mobility APIs. Includes reusable convenience classes for handling additional tag types: Smart Poster, Image and vCard.</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">ndefnfcsocialrecord.h</div>  </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef NDEFNFCSOCIALRECORD_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define NDEFNFCSOCIALRECORD_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;QNdefMessage&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;QNdefRecord&gt;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &lt;QString&gt;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &lt;QUrl&gt;</span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &lt;QNdefNfcUriRecord&gt;</span>
<a name="l00009"></a>00009 <span class="preprocessor">#include &quot;ndefnfcsprecord.h&quot;</span>
<a name="l00010"></a>00010 <span class="preprocessor">#include &quot;ndefnfcsmarturirecord.h&quot;</span>
<a name="l00011"></a>00011 
<a name="l00012"></a>00012 QTM_USE_NAMESPACE
<a name="l00013"></a>00013 
<a name="l00029"></a><a class="code" href="class_ndef_nfc_social_record.html">00029</a> <span class="keyword">class </span><a class="code" href="class_ndef_nfc_social_record.html" title="Link to one of the supported social networks by simply selecting the network and specifying the usern...">NdefNfcSocialRecord</a> : <span class="keyword">public</span> <a class="code" href="class_ndef_nfc_smart_uri_record.html" title="Smart class that uses the smallest possible NDEF record type for storing the requested information - ...">NdefNfcSmartUriRecord</a>
<a name="l00030"></a>00030 {
<a name="l00031"></a>00031 <span class="keyword">public</span>:
<a name="l00032"></a>00032     <a class="code" href="class_ndef_nfc_social_record.html#a12e43563ffc8985f6f6dcbf08c5aa84f" title="Create an empty Social record.">NdefNfcSocialRecord</a>();
<a name="l00033"></a>00033 
<a name="l00034"></a>00034 <span class="keyword">public</span>:
<a name="l00036"></a><a class="code" href="class_ndef_nfc_social_record.html#a677a99bcb017c2f0a942f0158fd039f3">00036</a>     <span class="keyword">enum</span> <a class="code" href="class_ndef_nfc_social_record.html#a677a99bcb017c2f0a942f0158fd039f3">NfcSocialType</a> {
<a name="l00037"></a>00037         Twitter = 0,
<a name="l00038"></a>00038         LinkedIn,
<a name="l00039"></a>00039         Facebook,
<a name="l00040"></a>00040         Xing,
<a name="l00041"></a>00041         VKontakte,
<a name="l00042"></a>00042         Foursquare
<a name="l00043"></a>00043     };
<a name="l00044"></a>00044 
<a name="l00045"></a>00045 <span class="keyword">public</span>:
<a name="l00046"></a>00046     QString <a class="code" href="class_ndef_nfc_social_record.html#ae16b8a601c079852aba2d5b1210d6d2a" title="Get the user name / id of the social network.">socialUserName</a>() <span class="keyword">const</span>;
<a name="l00047"></a>00047     <span class="keywordtype">void</span> <a class="code" href="class_ndef_nfc_social_record.html#afba6f65354510c374a7d9c0b61e62d67" title="Set the user name / id for the social network.">setSocialUserName</a>(<span class="keyword">const</span> QString&amp; <a class="code" href="class_ndef_nfc_social_record.html#ae16b8a601c079852aba2d5b1210d6d2a" title="Get the user name / id of the social network.">socialUserName</a>);
<a name="l00048"></a>00048 
<a name="l00049"></a>00049     <a class="code" href="class_ndef_nfc_social_record.html#a677a99bcb017c2f0a942f0158fd039f3">NfcSocialType</a> <a class="code" href="class_ndef_nfc_social_record.html#a9d36a49271b05eb4ab5d354409ef6974" title="Get the social network this class will create a link to.">socialType</a>() <span class="keyword">const</span>;
<a name="l00050"></a>00050     <span class="keywordtype">void</span> <a class="code" href="class_ndef_nfc_social_record.html#afc890497bc5392621cc58e70b496a093" title="Set the social network this class will create a link to.">setSocialType</a>(<span class="keyword">const</span> <a class="code" href="class_ndef_nfc_social_record.html#a677a99bcb017c2f0a942f0158fd039f3">NfcSocialType</a> <a class="code" href="class_ndef_nfc_social_record.html#a9d36a49271b05eb4ab5d354409ef6974" title="Get the social network this class will create a link to.">socialType</a>);
<a name="l00051"></a>00051 
<a name="l00052"></a>00052 <span class="keyword">private</span>:
<a name="l00053"></a>00053     <span class="keywordtype">void</span> updatePayload();
<a name="l00054"></a>00054 
<a name="l00055"></a>00055 <span class="keyword">private</span>:
<a name="l00056"></a>00056     QString m_socialUserName;
<a name="l00057"></a>00057     <a class="code" href="class_ndef_nfc_social_record.html#a677a99bcb017c2f0a942f0158fd039f3">NfcSocialType</a> m_socialType;
<a name="l00058"></a>00058 };
<a name="l00059"></a>00059 
<a name="l00060"></a>00060 <span class="preprocessor">#endif // NDEFNFCSOCIALRECORD_H</span>
</pre></div></div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Properties</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Mon Mar 12 2012 13:32:48 for Nfc Interactor by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
